﻿package vklib
{	
	/**
	 * ...
	 * @author apisoc@gmail.com
	 */
	public interface IVkGuiFactory
	{
		function createMainMenu(lazyMode:Boolean = false):*;
		function createComboBox(x:int, y:int, width:uint):*;
		function createListBox(x:int, y:int, width:uint):*;
		function createRoundButton(label:String, x:int, y:int, type:uint = 1):*;
		function createSquareButton(label:String, x:int, y:int, type:uint = 1):*;
		function createLinkButton(label:String, x:int, y:int, font_size:uint = 11, width:uint = 0, height:uint = 0):*;
		function createLightButton(label:String, x:int, y:int, width:uint, colors:Array, align:uint = 0, font_size:uint = 11, margins:uint = 4):*;
		function createBox(title:String, content:*, y:int, width:uint, buttons:Array):*;
		function createCheckBox(title:String, x:int, y:int):*;
		function createRadioButtonsGroup(x:int, y:int):*;
		function createScrollBar( x:int, y:int, height:int):*;
		function createInputField(x:uint, y:uint, width:uint, linesCount:uint = 1, editable:Boolean = true, border:Boolean = true):*;
		function createPagination(totalCount:uint, x:uint, y:uint, height:uint = 0, type:uint = 0, pagesVisible:uint = 2, elemsOnPage:uint = 10):*;
		function addText(s:String, x:int, y:int, container:* = null, text_color:uint = 0, text_format:uint = 0x0010, width:uint = 0, height:uint = 0, font_size:uint = 11):*;
	}
	
}